package com.boolib.http.core.exception;

public class ProjectException  extends RuntimeException {

    protected String code;
    protected String details;

    public ProjectException(String stateCode ,String message) {
        super(message);
        this.code = stateCode;
    }
    public ProjectException(String stateCode ,String message,Throwable throwable) {
        super(message,throwable);
        this.code = stateCode;
    }
    public ProjectException(String stateCode ,String message, String details ) {
        super(message);
        this.details = details;
        this.code = stateCode;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getStateCode() {
        return code;
    }

    public void setStateCode(String stateCode) {
        this.code = stateCode;
    }


}
